package com.atguigu.baku.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业主表（工商信息、账户信息）
 * </p>
 *
 * @author dayouzi
 * @since 2022-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Company对象", description="企业主表（工商信息、账户信息）")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "官网地址")
    private String siteurl;

    @ApiModelProperty(value = "单位电话")
    private String tell;

    @ApiModelProperty(value = "主项资质")
    private String mainCredit;

    @ApiModelProperty(value = "省份地址")
    private String address;

    @ApiModelProperty(value = "抓取等级（1：设计单位；2：监理单位；3：总承包；4：一级承包；5：二级承包；6：三级承包；7：劳务分包；8：检测单位；9：建材供应商；10：设备供应商；11：劳务供应商；12：测绘单位；13：其它）")
    private Integer types;

    @ApiModelProperty(value = "主图")
    private String logourl;

    @ApiModelProperty(value = "法人代表")
    private String legal;

    @ApiModelProperty(value = "人员规模")
    private String staffSize;

    @ApiModelProperty(value = "注册资本金")
    private BigDecimal capitalMoney;

    @ApiModelProperty(value = "统一社会信用代码")
    private String creditCode;

    @ApiModelProperty(value = "企业类型")
    private String type;

    @ApiModelProperty(value = "成立日期")
    private String dateEsta;

    @ApiModelProperty(value = "营业期限至")
    private String dateClose;

    @ApiModelProperty(value = "登记机构")
    private String regAgency;

    @ApiModelProperty(value = "登记状态")
    private String regStatus;

    @ApiModelProperty(value = "核准时间")
    private String dateCorrect;

    @ApiModelProperty(value = "详细地址")
    private String detailAddress;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "经营范围")
    private String businessScope;

    @ApiModelProperty(value = "公司银行基本账户信息")
    private String accountinfo;

    @ApiModelProperty(value = "开户银行")
    private String bankinfo;

    @ApiModelProperty(value = "开户银行地址")
    private String bankinfoAddress;

    @ApiModelProperty(value = "账户情况")
    private String accountstatus;

    @ApiModelProperty(value = "开户许可证编号")
    private String licnumber;

    @ApiModelProperty(value = "银行电话")
    private String phonenumber;

    @ApiModelProperty(value = "阅读量")
    private Integer readcount;

    @ApiModelProperty(value = "创建时间戳")
    private Integer addTime;

    @ApiModelProperty(value = "状态（0：未导入过es中；1：已经导入到es中）")
    private Integer status;

    @ApiModelProperty(value = "发票，无，普票，增票")
    private String bill;

    @ApiModelProperty(value = "省id")
    private Integer areaId;

    @ApiModelProperty(value = "省")
    private String area;

    @ApiModelProperty(value = "人员更新状态")
    private Integer pstatus;

    @ApiModelProperty(value = "身份，1 企业；2 人员")
    private Integer identity;

    @ApiModelProperty(value = "核准号")
    private String apprvnumber;

    @ApiModelProperty(value = "上次更新时间")
    private Date lastUpdateTime;

    @ApiModelProperty(value = "")
    private Integer available;

    @ApiModelProperty(value = "失信人")
    private String faith;

    @ApiModelProperty(value = "是否为基建通会员")
    private Integer vip;


}
